package com.aifund.orderservice.model;

import lombok.Data;

@Data
public class ClientOrderModel {


    /**
     * user_id : QEnvtlRU7UxrLVc4yspqb5cuQ28szIjckgRmGbeOH7udWQuF7GOvlXjLay8nuzrC
     * exchange : BINANCE
     * symbol : MFTUSDT
     * trade_id : 5591735
     * order_id : 72781756
     * price : 0.02150300
     * volume : 558.00000000
     * traded_volume : 0
     * origin_volume : 0
     * turnover : 11.99867400
     * commission : 0.00003537
     * commission_asset : BNB
     * datetime : 2021-03-24 13:29:07
     * side : SELL
     */

    /**
     * api_key
     */
    private String user_id;

    /**
     * 交易所
     */
    private String exchange;
    /**
     * 币对
     */
    private String symbol;

    /**
     * 成交号
     */
    private int trade_id;

    /**
     * 订单号
     */
    private int order_id;

    /**
     * 成交价
     */
    private String price;

    /**
     * 成交量
     */
    private String volume;

    /**
     * 已成交量
     */
    private int traded_volume;

    /**
     * 原始订单数量
     */
    private int origin_volume;

    /**
     * 成交额
     */
    private String turnover;

    /**
     * 交易费金额
     */
    private String commission;

    /**
     * 交易费资产类型
     */
    private String commission_asset;

    /**
     * 交易时间
     */
    private String datetime;

    /**
     * 买卖方向
     */
    private String side;

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getExchange() {
        return exchange;
    }

    public void setExchange(String exchange) {
        this.exchange = exchange;
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public int getTrade_id() {
        return trade_id;
    }

    public void setTrade_id(int trade_id) {
        this.trade_id = trade_id;
    }

    public int getOrder_id() {
        return order_id;
    }

    public void setOrder_id(int order_id) {
        this.order_id = order_id;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getVolume() {
        return volume;
    }

    public void setVolume(String volume) {
        this.volume = volume;
    }

    public int getTraded_volume() {
        return traded_volume;
    }

    public void setTraded_volume(int traded_volume) {
        this.traded_volume = traded_volume;
    }

    public int getOrigin_volume() {
        return origin_volume;
    }

    public void setOrigin_volume(int origin_volume) {
        this.origin_volume = origin_volume;
    }

    public String getTurnover() {
        return turnover;
    }

    public void setTurnover(String turnover) {
        this.turnover = turnover;
    }

    public String getCommission() {
        return commission;
    }

    public void setCommission(String commission) {
        this.commission = commission;
    }

    public String getCommission_asset() {
        return commission_asset;
    }

    public void setCommission_asset(String commission_asset) {
        this.commission_asset = commission_asset;
    }

    public String getDatetime() {
        return datetime;
    }

    public void setDatetime(String datetime) {
        this.datetime = datetime;
    }

    public String getSide() {
        return side;
    }

    public void setSide(String side) {
        this.side = side;
    }
}
